<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的研究内容</title>
		<meta name="renderer" content="webkit">
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8" />
		<link rel="stylesheet" type="text/css" href="../commonCss/common.css" />
		<link rel="stylesheet" type="text/css" href="myTopic.css" />
	</head>
	<script id="subjectTpl" type="text/html">
		<tr>

			<td style="max-width: 150px;">{{d.secondCategoryName}}</td>
			<td style="max-width: 200px;">{{d.thirdCategoryName}}</td>
			<td style="max-width: 400px;">{{d.subjectContext}}</td>

			<td class="td-manage">

				<a title="编辑"  class="editSubject" data-id="{{d.id}}" href="javascript:;">
					<i class="layui-icon" data-id="{{d.id}}">&#xe642;</i>
				</a>

				<a title="删除" class="deleteSubject" data-id="{{d.id}}" href="javascript:;">
					<i class="layui-icon" data-id="{{d.id}}">&#xe640;</i>
				</a>
			</td>
		</tr>
	</script>

	<body class="page_h5">
	<!-- <div class="personalInfo_h5">个人情况页面</div> -->
	<div class="page_header">
		<span>工作台</span>
		<span class="line">/</span>
		<span>我的研究内容</span>
	</div>
	<div class="page_h5 myTopic_h5">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<!--<div class="layui-card-body ">-->
						<!--<form class="layui-form">-->

							<!--<div class="layui-inline layui-show-xs-block">-->
								<!--<input type="text" name="subjectName"  placeholder="课题名称" autocomplete="off" class="layui-input">-->
							<!--</div>-->
							<!--<div class="layui-inline layui-show-xs-block">-->
								<!--<button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>-->
							<!--</div>-->
						<!--</form>-->
					<!--</div>-->
					<div class="layui-card-header">
						<!--<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>-->
						<button class="layui-btn layui-btn-normal add_btn"><i class="layui-icon"></i>研究内容</button>
					</div>
					<div class="layui-card-body layui-table-body layui-table-main">
						<table class="layui-table layui-form">
							<thead>
							<tr>

								<!--<th>ID</th>-->
								<!--<th>项目分类</th>-->
								<th>一级目录</th>
								<th>二级目录</th>
								<th>三级目录（研究内容）</th>
								<th>操作</th></tr>
							</thead>
							<tbody class="subjectList">


							</tbody>
						</table>
						<div id="pagination" class="clearfix"></div>
					</div>
					<!--<div class="layui-card-body ">-->
						<!--<div class="page">-->
							<!--<div>-->
								<!--<a class="prev" href="">&lt;&lt;</a>-->
								<!--<a class="num" href="">1</a>-->
								<!--<span class="current">2</span>-->
								<!--<a class="num" href="">3</a>-->
								<!--<a class="num" href="">489</a>-->
								<!--<a class="next" href="">&gt;&gt;</a>-->
							<!--</div>-->
						<!--</div>-->
					<!--</div>-->
				</div>
			</div>
		</div>
	</div>
	<div class="modal JR_hide" id="myModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close">×</button>
					<h4 class="modal-title">新增/编辑研究内容</h4>
				</div>

				<div class="modal-body">
					<form class="layui-form" action="" id="addNewSubjectForm">
						<input type="hidden" class="save_val" name="id" value="" />

						<!--<div class="layui-form-item">-->
							<!--<label class="layui-form-label" style="width: 120px;">项目分类</label>-->
							<!--<div class="layui-input-inline">-->
								<!--<select   name="category" class="category save_val" lay-verify="required">-->
									<!--<option value="1">创意设计</option>-->
									<!--<option value="2">基础部件</option>-->
									<!--<option value="3">整机套装</option>-->
									<!--<option value="4">应用配套</option>-->
								<!--</select>-->
							<!--</div>-->
						<!--</div>-->

						<div class="layui-form-item">
							<label class="layui-form-label" >一级目录</label>
							<div class="layui-input-block" >
								<select   name="secondCategory"  class="secondCategory save_val" lay-verify="required" lay-filter="secondCategory">

								</select>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label" >二级目录</label>
							<div class="layui-input-block" >
								<select   name="thirdCategory" class="thirdCategory save_val " lay-verify="required" lay-filter="thirdCategory">

								</select>
							</div>

						</div>
						<div class="layui-form-item fourthCategoryDiv" style="display: none;">
							<label class="layui-form-label" >已有研究内容</label>
							<div class="layui-input-block fourthCategoryItemDiv"  >
							</div>
						</div>

						<!--<div class="layui-form-item">-->
							<!--<label class="layui-form-label">课题名称</label>-->
							<!--<div class="layui-input-block">-->
								<!--<input type="text" class="layui-input subjectName save_val" name="subjectName" required lay-verify="required"-->
									   <!--placeholder="" autocomplete="off">-->
							<!--</div>-->
						<!--</div>-->


						<div class="layui-form-item">
							<label class="layui-form-label" >三级目录（研究内容）</label>
							<div class="layui-input-block" >
								<textarea class="layui-textarea subjectContext save_val" name="subjectContext" required lay-verify="required" placeholder="" maxlength="1000"></textarea>
								<p class="projectItemDesc">描述研究内容属于基本研究还是应用研究，并对研究内容做不少于100字的概述。</p>
							</div>
						</div>

					</form>
				</div>

				<div class="modal-footer">
					<div class="layui-btn layui-btn-primary" id="cancelAddNewSubject">取消</div>
					<div class="layui-btn layui-btn-normal" id="submitNewSubject">提交</div>
				</div>
			</div>
		</div>
	</div>
	</body>
		<script src="../commonJs/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="myTopic.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>
